<!DOCTYPE html>
<html lang="zh-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="style.css">
    <style type="text/css">
        .icon {
           width: 1em; height: 1em;
           vertical-align: -0.15em;
           fill: currentColor;
           overflow: hidden;
        }
    </style>
    <title>我的画板</title>
</head>
<body>
    <canvas id="xxx" width="300px" height="300px"></canvas>
    <div class="actions" id="actions">
        <svg id="pencil" class="icon active" aria-hidden="true">
            <use xlink:href="#icon-pencil"></use>
        </svg>
        <svg id="eraser" class="icon" aria-hidden="true">
            <use xlink:href="#icon-eraser"></use>
        </svg>
        <svg id="trash" class="icon" aria-hidden="true">
            <use xlink:href="#icon-trash"></use>
        </svg>
        <svg id="download" class="icon" aria-hidden="true">
            <use xlink:href="#icon-download"></use>
        </svg>
    </div>
<ol class="colors">
    <li id="red" class="red"></li>
    <li id="blue" class="blue"></li>
    <li id="green" class="green"></li>
</ol>
<ol class="sizes">
    <li id="thin" class="thin"></li>
    <li id="thick" class="thick"></li>
</ol>
</body>
    <script src="main.js"></script>
    <script src="//at.alicdn.com/t/font_1035519_y8r41ycduki.js"></script>
</html>